package com.xmotor.girlspringbootstarter;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "com.xmotor.girl")
public class GirlProperties {
    private String name;//姓名
    private Integer age;//年龄
    private String face;//颜值
    private Boolean isCreateGirl;//是否创建女朋友

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getFace() {
        return face;
    }

    public void setFace(String face) {
        this.face = face;
    }

    public Boolean getCreateGirl() {
        return isCreateGirl;
    }

    public void setCreateGirl(Boolean createGirl) {
        isCreateGirl = createGirl;
    }
}
